<?php

namespace App\Http\Models;

use Zizaco\Entrust\EntrustRole;

class Role extends EntrustRole
{
    /**
     * 获取权限外键
     */
    public function PermissionRole()
    {
        return $this->hasMany(PermissionRole::class, 'role_id','id');
    }
}
